import Layout from '@/layout'

const adminRouter = {
  path: '/authority',
  component: Layout,
  redirect: 'noRedirect',
  name: 'authority',
  meta: { title: '权限管理', icon: 'el-icon-s-claim' },
  children: [
    {
      path: 'sysrole',
      component: () => import('@/views/authority/sysrole'),
      name: 'sysrole',
      meta: { title: '角色管理', icon: 'el-icon-s-management' }
    },
    {
      path: 'sysurl',
      component: () => import('@/views/authority/sysurl'),
      name: 'sysurl',
      meta: { title: '接口权限', icon: 'el-icon-s-management' }
    }, {
      path: 'datapermission',
      component: () => import('@/views/authority/datapermission'),
      name: 'datapermission',
      meta: { title: '接口权限', icon: 'el-icon-s-management' }
    }
  ]
}
export default adminRouter
